// 显示自定义错误
export function validateFormError (errorDict, resError) {
  for (let key in resError) {
    let txt = resError[key]
    errorDict[key] = txt
  }
}

// 清除自定义错误
export function clearFormError (errDict) {
  for (let key in errDict) {
    errDict[key] = ''
  }
}
